package com.yykj.hospital.server.service.account;

import com.yykj.hospital.server.dto.account.ExpendDTO;
import com.yykj.hospital.server.dto.account.IncomeDTO;
import com.yykj.hospital.server.form.CashApplyForm;
import com.yykj.hospital.server.model.entity.bank.DoctorBankCashApply;
import org.springframework.stereotype.Service;

@Service
public interface AccountService {
    /**
     * 医生完成任务后，做账
     * @param income
     */
    void doctorFinishTaskIncome(IncomeDTO income);

    /**
     * 医生提现到账
     * 系统cash账户扣钱，系统system账户加手继费。
     * @param apply 提现申请
     */
    void doctorCashOutPass(DoctorBankCashApply apply);

    /**
     * 医生提现拒绝
     * 系统cash账户扣钱 到医生账户
     * @param apply 提现申请
     */
    void doctorCashOutRefused(DoctorBankCashApply apply);
    /**
     * 医生提现申请
     * 医生账户扣钱到系统cash账户
     * @param expend
     */
    void doctorCashOutApply(ExpendDTO expend);
    /**
     * 支付成功，做账
     */
    void paySuccessAccount(IncomeDTO incomeDTO);
}
